<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>

<html>
	<head>
		<title><bean:message key="negotium.titulo" arg0="Registrar" /></title>
		<link rel="stylesheet" type="text/css" href="css/style.css"></link>
		<script src="scripts/common.js"></script>
	</head>
	
	<body>
		<html:form action="/register.do?registering=1">
			<table>
				<tr>
					<td>
						<bean:message key="negotium.register.nombre" />
					</td>
					<td>
						<html:text property="usuario.nombre"/>
					</td>
					<td>
						<bean:message key="negotium.register.apellido" />
					</td>
					<td>
						<html:text property="usuario.apellido"/>
					</td>
				</tr>
				<tr>
					<td>
						<bean:message key="negotium.register.username" />
					</td>
					<td>
						<html:text property="usuario.userName" maxlength="20" />
					</td>
					<td>
						<bean:message key="negotium.register.pass" />
					</td>
					<td>
						<html:password property="usuario.password" maxlength="20" />
					</td>
				</tr>
				<tr>
					<td>
						<bean:message key="negotium.register.email" />
					</td>
					<td>
						<html:text property="usuario.email"/>
					</td>
				</tr>
				<tr>
					<td colspan="4" align="center">
						<html:submit><bean:message key="negotium.register.submit" /></html:submit>
					</td>
				</tr>
			</table>
		</html:form>
		
	</body>
</html>
